package com.chixing.ih.config;

import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 刘岩
 * Date: 2020-09-23
 * Time: 21:57
 *
 * @version 1.0
 */
@Configuration
public class JwtConfig {
    public static final String TOKEN_SECRET = "ih666";  //密钥

    //设置令牌真正的到期时间       半小时
    public static final long ERROR_TIME = 1000 * 60 * 30;

    //设置令牌需要刷新了的时间
    public static final long WANING_TIME = ERROR_TIME / 2;
}
